<template>
  <el-col :span="options.span || 22">
    <el-form-item :label="options.label" :prop="options.prop">
      <uploadImg v-bind="$attrs" :value.sync="inputVal" />
    </el-form-item>
  </el-col>
</template>

<script>
export default {
  props: {
    value: {
      default:'',
    },
    options: Object,
  },
  computed: {
    inputVal: {
      get: function () {
        return this.value;
      },
      set: function (e) {
        this.$emit("input", e);
      },
    },
  },
};
</script>

<style>
</style>